package com.bix.util.blizfiles.dbc.impl;


import com.bix.util.blizfiles.dbc.BooleanDBCRecordField;
import com.bix.util.blizfiles.dbc.DBCFile;
import com.bix.util.blizfiles.dbc.DBCRecord;
import com.bix.util.blizfiles.dbc.DBCRecordField;
import com.bix.util.blizfiles.dbc.IntegerDBCRecordField;
import com.bix.util.blizfiles.dbc.ReferenceIndexDBCRecordField;
import com.bix.util.blizfiles.dbc.StringDBCRecordField;

public class CreatureDisplayInfoExtra extends DBCRecord {
	public CreatureDisplayInfoExtra (DBCFile dbc) {
		super ();
		
		this.fields = new DBCRecordField[] {
				new ReferenceIndexDBCRecordField ("race", "ChrRaces.dbc"),
				new ReferenceIndexDBCRecordField ("creatureType", "CreatureType.dbc"),
				new BooleanDBCRecordField ("gender"),
				new IntegerDBCRecordField ("skinColor"),
				new IntegerDBCRecordField ("hairType"),
				new IntegerDBCRecordField ("hairStyle"),
				new IntegerDBCRecordField ("bearedStyle"),
				new ReferenceIndexDBCRecordField ("helm", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("shoulder", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("shirt", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("cuirass", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("belt", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("legs", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("boots", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("rings", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("gloves", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("wrist", "ItemDisplayInfo.dbc"),
				new ReferenceIndexDBCRecordField ("cape", "ItemDisplayInfo.dbc"),
				new BooleanDBCRecordField ("unknown"),
				new StringDBCRecordField  ("texture")
		};

		super.read (dbc);
	}
}